package com.chaoxing.service.impl;

import com.chaoxing.entity.Course;
import com.chaoxing.mapper.CourseMapper;
import com.chaoxing.service.CourseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CourseServiceImpl implements CourseService {
    @Resource
    private CourseMapper courseMapper;
    @Override
    public List<Course> searchALLCourses() {
        return courseMapper.searchALLCourses();
    }
}
